{extend name="./index/index" /}

{block name="list"}
<ul id="main-menu" class="main-menu">

<li>
    <a href="web/index">
        <i class="linecons-cog"></i>
        <span class="title">网站数据</span>
    </a>
</li><!--END 网站数据-->

<li>
    <a href="">
        <i class="fa-group"></i>
        <span class="title">用户管理</span>
    </a>
    <ul>
        <li>
            <a href="/admin/index">
                <span class="title">用户列表</span>
            </a>
        </li>
        <li>
            <a href="/admin/index/user">
                <span class="title">管理员列表</span>
            </a>
        </li>
        <li>
            <a href="/admin/index/create">
                <span class="title" >添加管理员</span>
            </a>
        </li>
    </ul>
</li><!--END 用户管理-->

<li class="opened active">
    <a href="">
        <i class="linecons-desktop"></i>
        <span class="title">影片管理</span>
    </a>
    <ul>
        <li>
            <a href="/admin/film/index">
                <span class="title">影片列表</span>
            </a>
        </li>
        <li class="active">
            <a href="">
                <span class="title">上新电影</span>
            </a>
        </li>
        
    </ul>
</li><!--END 影片管理-->

<li>
    <a href="forms-native.html">
        <i class="linecons-params"></i>
        <span class="title">影院管理</span>
    </a>
    <ul>
        <li>
            <a href="forms-file-upload.html">
                <span class="title">全部影院</span>
            </a>
        </li>
        <li>
            <a href="forms-修改ors.html">
                <span class="title">上新影院</span>
            </a>
        </li>
        <li>
            <a href="forms-sliders.html">
                <span class="title">待续</span>
            </a>
        </li>
    </ul>
</li><!--END 影院-->

<li>
    <a href="extra-gallery.html">
        <i class="linecons-beaker"></i>
        <span class="title">订单管理</span>
    </a>
    <ul>
        <li>
            <a href="extra-icons-fontawesome.html">
                <span class="title">Icons</span>
                <span class="label label-warning pull-right">4</span>
            </a>
        </li>
    </li>
    </ul>
</li><!--END 订单-->

<li>
    <a href="ui-widgets.html">
        <i class="linecons-star"></i>
        <span class="title">暂定</span>
    </a>
    <ul>
        <li>
            <a href="extra-icons-fontawesome.html">
                <span class="title">暂定</span>
                <span class="label label-warning pull-right">4</span>
            </a>
        </li>
    </li>
    </ul>
</li>
<li>
    <a href="charts-main.html">
        <i class="linecons-globe"></i>
        <span class="title">Charts</span>
    </a>
    <ul>
        <li>
            <a href="charts-main.html">
                <span class="title">Chart Variants</span>
            </a>
        </li>
        <li>
            <a href="charts-range.html">
                <span class="title">Range Selector</span>
            </a>
        </li>
        <li>
            <a href="charts-sparklines.html">
                <span class="title">Sparklines</span>
            </a>
        </li>
        <li>
            <a href="charts-map.html">
                <span class="title">Map Charts</span>
            </a>
        </li>
        <li>
            <a href="charts-gauges.html">
                <span class="title">Circular Gauges</span>
            </a>
        </li>
        <li>
            <a href="charts-bar-gauges.html">
                <span class="title">Bar Gauges</span>
            </a>
        </li>
    </ul>
</li>
<li>
    <a href="#">
        <i class="linecons-cloud"></i>
        <span class="title">Menu Levels</span>
    </a>
    <ul>
        <li>
            <a href="#">
                <i class="entypo-flow-line"></i>
                <span class="title">Menu Level 1.1</span>
            </a>
            <ul>
                <li>
                    <a href="#">
                        <i class="entypo-flow-parallel"></i>
                        <span class="title">Menu Level 2.1</span>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <i class="entypo-flow-parallel"></i>
                        <span class="title">Menu Level 2.2</span>
                    </a>
                    <ul>
                        <li>
                            <a href="#">
                                <i class="entypo-flow-cascade"></i>
                                <span class="title">Menu Level 3.1</span>
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <i class="entypo-flow-cascade"></i>
                                <span class="title">Menu Level 3.2</span>
                            </a>
                            <ul>
                                <li>
                                    <a href="#">
                                        <i class="entypo-flow-branch"></i>
                                        <span class="title">Menu Level 4.1</span>
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="#">
                        <i class="entypo-flow-parallel"></i>
                        <span class="title">Menu Level 2.3</span>
                    </a>
                </li>
            </ul>
        </li>
        <li>
            <a href="#">
                <i class="entypo-flow-line"></i>
                <span class="title">Menu Level 1.2</span>
            </a>
        </li>
        <li>
            <a href="#">
                <i class="entypo-flow-line"></i>
                <span class="title">Menu Level 1.3</span>
            </a>
        </li>
    </ul>
</li>
</ul>
{/block}




{block name="table"}
    <div class="page-title">
    <div class="title-env">
        <h1 class="title">{$title}</h1>
        <p class="description">有意见就跟我提，不要对上帝的数据发脾气。</p>
    </div>
    
        <div class="breadcrumb-env">
        
                    <ol class="breadcrumb bc-1">
                        <li>
                <a href="/admin"><i class="fa-home"></i>Home</a>
            </li>
                    <li>
            
                            <a href="/admin/film/index">影片管理</a>
                    </li>
                <li class="active">
            
                            <strong>{$title}</strong>
                    </li>
                    </ol>
                    
    </div>
        
</div>

<div class="panel panel-default">
    <div class="panel-heading">
        <h3 class="panel-title">{$title}</h3>
    </div>
    <div class="panel-body">
        
        
        
    <table cellspacing="0" class="table table-small-font table-bordered table-striped table-hover text-center">
        <thead>
            <form action="/admin/film/save" method="post" enctype="multipart/form-data">
              <div class="form-group">
                <label for="exampleInputEmail1">影片名称</label>
                <input type="text" name="filmname" class="form-control" id="exampleInputEmail1" placeholder="Movie Name" required>
              </div><!--END-->

              <div class="form-group">
                <label for="exampleInputPassword1">影片简介</label>
                <input type="text" name="info" class="form-control" id="exampleInputPassword1" placeholder="Video Introduction" required>
              </div><!--END-->

              <div class="form-group">
                <label for="exampleInputPassword1">影片时间</label>
                <div class="row">
                    <div class="col-md-6">
                    <select class="form-control" name="m">
                      <option value="1">1小时</option>
                      <option value="2">2小时</option>
                      <option value="3">3小时</option>
                      <option value="4">4小时</option>
                      <option value="5">5小时</option>
                      <option value="6">6小时</option>
                      <option value="7">7小时</option>
                      <option value="8">8小时</option>
                      <option value="9">9小时</option>
                      <option value="10">10小时</option>
                      <option value="11">11小时</option>
                      <option value="12">12小时</option>
                      <option value="13">13小时</option>
                      <option value="14">14小时</option>
                      <option value="15">15小时</option>
                      <option value="16">16小时</option>
                      <option value="17">17小时</option>
                      <option value="18">18小时</option>
                      <option value="19">19小时</option>
                      <option value="20">20小时</option>
                      <option value="21">21小时</option>
                      <option value="22">22小时</option>
                      <option value="23">23小时</option>
                      <option value="24">24小时</option>
                    </select>
                </div>
                 <div class="col-md-6">
                    <select class="form-control" name="d">
                      <option value="1">1分钟</option>
                      <option value="2">2分钟</option>
                      <option value="3">3分钟</option>
                      <option value="4">4分钟</option>
                      <option value="5">5分钟</option>
                      <option value="6">6分钟</option>
                      <option value="7">7分钟</option>
                      <option value="8">8分钟</option>
                      <option value="9">9分钟</option>
                      <option value="10">10分钟</option>
                      <option value="11">11分钟</option>
                      <option value="12">12分钟</option>
                      <option value="13">13分钟</option>
                      <option value="14">14分钟</option>
                      <option value="15">15分钟</option>
                      <option value="16">16分钟</option>
                      <option value="17">17分钟</option>
                      <option value="18">18分钟</option>
                      <option value="19">19分钟</option>
                      <option value="20">20分钟</option>
                      <option value="21">21分钟</option>
                      <option value="22">22分钟</option>
                      <option value="23">23分钟</option>
                      <option value="24">24分钟</option>
                      <option value="25">25分钟</option>
                      <option value="26">26分钟</option>
                      <option value="27">27分钟</option>
                      <option value="28">28分钟</option>
                      <option value="29">29分钟</option>
                      <option value="30">30分钟</option>
                      <option value="31">31分钟</option>
                      <option value="32">32分钟</option>
                      <option value="33">33分钟</option>
                      <option value="34">34分钟</option>
                      <option value="35">35分钟</option>
                      <option value="36">36分钟</option>
                      <option value="37">37分钟</option>
                      <option value="38">38分钟</option>
                      <option value="39">39分钟</option>
                      <option value="40">40分钟</option>
                      <option value="41">41分钟</option>
                      <option value="42">42分钟</option>
                      <option value="43">43分钟</option>
                      <option value="44">44分钟</option>
                      <option value="45">45分钟</option>
                      <option value="46">46分钟</option>
                      <option value="47">47分钟</option>
                      <option value="48">48分钟</option>
                      <option value="49">49分钟</option>
                      <option value="50">50分钟</option>
                      <option value="51">51分钟</option>
                      <option value="52">52分钟</option>
                      <option value="53">53分钟</option>
                      <option value="54">54分钟</option>
                      <option value="55">55分钟</option>
                      <option value="56">56分钟</option>
                      <option value="57">57分钟</option>
                      <option value="58">58分钟</option>
                      <option value="59">59分钟</option>
                      <option value="60">60分钟</option>
                    </select>
                </div>
                </div>
              </div><!--END-->

              <div class="form-group">
                <label for="exampleInputPassword1">导演 / 演员</label>
                <input type="text" name="person" class="form-control" id="exampleInputPassword1" placeholder="Direct / Actor" required>
              </div><!--END-->

              <div class="form-group">
                <label for="exampleInputPassword1">类型 / 类型</label>
                <input type="text" name="type" class="form-control" id="exampleInputPassword1" placeholder="Type" required>
              </div><!--END-->

              <div class="form-group">
                <label for="exampleInputPassword1">影片上映年份</label>
                   <select class="form-control" name="year">
                      <option value="2017">2017</option>
                      <option value="2016">2016</option>
                      <option value="2015">2015</option>
                      <option value="2014">2014</option>
                      <option value="2013">2013</option>
                      <option value="2012">2012</option>
                      <option value="2011">2011</option>
                      <option value="2010">2010</option>
                      <option value="2009">2009</option>
                      <option value="2008">2008</option>
                    </select>
              </div><!--END-->

               <div class="form-group">
                <label for="exampleInputPassword1">影片语言</label>
                   <select class="form-control" name="tongue">
                      <option value="0">中文</option>
                      <option value="1">英语</option>
                      <option value="2">日语</option>
                      <option value="3">韩语</option>
                    </select>
              </div><!--END-->

              <div class="form-group">
                <label for="exampleInputPassword1">影片国家</label>
                   <select class="form-control" name="state">
                      <option value="0">中国</option>
                      <option value="1">美国</option>
                      <option value="2">日本</option>
                      <option value="3">韩国</option>
                      <option value="4">印度</option>
                    </select>
              </div><!--END-->

              <div class="form-group">
                <label for="exampleInputFile">上传封面</label>
                <input type="file" name="filmimg" id="exampleInputFile" required>
                <p class="help-block"></p>
              </div>

              <div class="form-group">
                <label for="exampleInputPassword1">影片详情</label>
                <textarea class="form-control" name="text" rows="3" required></textarea>
              </div><!--END-->

              <button type="submit" class="btn btn-info" style="border-radius:10px;">添加影片</button>
            </form>
        </thead>
    </table>
    </div>
</div>
{/block}